const Layout = () => import('@/layout/index.vue');

export default [
	{
		path: '/',
		name: 'kg_search',
		meta: {
			icon: 'ri:search-line',
			title: '知识检索',
			rank: 2,
		},
		component: Layout,
		children: [
			{
				path: '/search',
				name: 'kg_search',
				component: () => import('@/views/kg/search/index.vue'),
				meta: {
					title: '知识检索',
				},
			},
		],
	},
	{
		path: '/',
		name: 'kg_chat',
		meta: {
			icon: 'proicons:chat',
			title: '知识问答',
			rank: 3,
		},
		component: Layout,
		children: [
			{
				path: '/chat',
				name: 'kg_chat',
				component: () => import('@/views/kg/chat/index.vue'),
				meta: {
					title: '知识问答',
				},
			},
		],
	},
] satisfies RouteConfigsTable[];
